{{- $ := index . "$" -}}
{{- $name := .name -}}
{{- $class := .class | default $name -}}
{{- $icon := index $.Site.Data.SVG $name -}}
{{- $class := printf "icon %s" $class -}}
{{- return (replace $icon "icon" $class | safeHTML) -}}
